Gregory P. Desrosiers

1B Software Engineering, University of Waterloo


Home About Me Portfolio Education Achievements Resume GitHub Repository Blog Postings Follow Me Credits

Blog Postings

To Be Successful or Not To Be Successful

In reaction to my attempt in passing Software Engineering 1A at UWaterloo, which seemed to be somewhat overwhelmingly stressful semester going in after a summer that I personally find so ridiculous of myself, I wrote this very long blog. I had an understanding of how people can support me after posting the Stand Up to Stigma photo (you know, the one in the Portfolio Page) to several Facebook groups, including the UWaterloo Frosh group.




Java Program: Circle Cannon Shooter

I once tried writing a game as an exercise in Daniel Liang's Introduction to Java Programming (9th Edition) where you had to use the AWT Graphics class and other objects to create a basic game involving a cannon firing pistols to much larger circles. It involved animation, keyboard listeners, randomization, and a GUI by using the Swing library. In my case, what I have here is a version of it where it includes a 60-second timer, a score counter, and a very rough and crude frame effect when a large circle is hit by a smaller circle.

It isn't a very well-implemented game because of the reality of AWT. However, it was a learning opportunity because after looking on this, I only wish I could do something like this in a more fun environment.

Example and source code included; you are free to use it and modify it at your convenience. (If you are using JDK 1.8 on your IDE or compiler, you will get numerous warning messages because some of the code is outdated compared to the new version. However, the program still works, as tested on NetBeans IDE 8.0.2 as of March 1st, 2015)



The Mentally Handicapped Stranger (Short Story)

What initially seemed to be a fun morning for a child to step into a fast-food restaurant for breakfast turns into a situation of selfishness and worry...

This was a short story I wrote on my own, using several pictures I pulled online as a rough visual for the scene depicted in this story. It was a preview for “The Asperger Computer” released in July 2013.



Rock Paper Scissors Lizard Spock

Influenced by The Big Bang Theory where Sheldon Cooper introduces Rajesh “Raj” Koothrapalli to “Rock-paper-scissors-Lizard-Spock,” I thought I'd do an implementation of my own in Java. I actually did do an implementation like this in UWaterloo's CS 137 as one of the assignment questions as well, but in C.

The major difference between them is, in my implementation in C, it was a method with multiple if-else-if clauses. Here, it's similar, but I implemented as a program with error management and the ability to play again.

This is a console-based program; not a single GUI or input event is used except for the pure Scanner class.



Elementary School Graduation Message

Because of my parents' original concerns that I was not going to complete elementary school, I decided to post the original graduation message my elementary school principal read to us during the graduation ceremony on June 21, 2006.

If I'm being too afraid to show off my true colors, as this blog recalls, I won't be true of myself. And things can definitely be unwritten for sure; it's only me who can change them or see them as time flies.



List of N64 Games Played

I mentioned in my summary in the "About Me" page that my childhood console was the Nintendo 64. This blog holds a list of all the N64 games I've played in my experience. That's not to show my professional candidacy, but more on my passion.



Longueuil RTL #83

Since I happened to be a font family lover, I was compelled at one point to try to get a photo shot of one model of a low-floor bus manufactured by NovaBUS Inc. in Saint-Eustache, Quebec. In this case, it was one of Reseau de transport de Longueuil's buses for a line in my hometown. What I wanted to capture was a photo of the bus with its LED display on top of the windshield showing one of its destinations: Longueuil's bus terminal, or as I prefer to call it that also exists on the headers of those buses, "Terminus Longueuil." (Hmm, doesn't the first word sound like Latin?) That photo alone has driven me crazy so much that I wrote a short story as an assignment submission in Secondary 5 English.

Nowadays, I don't think it's really a pleasant story, because I've only gotten 60% on that assignment alone, with the most general comment being "What is the theme of the story?".




Source Code © 2015 Gregory Desrosiers. All rights reserved. Produced at University of Waterloo.